/*
 * @Author: LGX
 * @Date: 2022-03-30 22:21:25
 * @LastEditors: LGX
 * @LastEditTime: 2022-03-31 15:28:29
 * @FilePath: \erp-management-system\src\components\customerseas\MyButton.jsx
 * @Description: 封装按钮
 * 
 */
import { Button } from 'antd';
import React from 'react'

export default function MyButton(props) {
    const { title, color } = props;
    return (
    <Button size='small' style={{ backgroundColor:`${color}`, color: 'white' ,borderRadius:'3px'}} {...props}>
        {title}
    </Button>)
}
